package cn.hd01.repository.entity;

import java.math.BigDecimal;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;


public class BalanceReport {
	private Integer id;
	
	private String distributorName;
	
	private String recommDistributorName;
	
	private String customerName;

	/**
	 * 收款金额（业绩）
	 */
	private BigDecimal payAmount;
	
	/**
	 * 手续费
	 */
	private BigDecimal feeAmount;
	
	/**
	 * 应该收款金额
	 */
	private BigDecimal amount;
	
	private String projectName;
	
	private String payee;
	
	private BigDecimal distributorRebate;
	
	private BigDecimal recommDistributorRebate;
	
	private BigDecimal debtRatio = BigDecimal.ZERO;
	
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private Date createTime;
	
	private Date updateTime;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getDistributorName() {
		return distributorName;
	}

	public void setDistributorName(String distributorName) {
		this.distributorName = distributorName;
	}

	public String getRecommDistributorName() {
		return recommDistributorName;
	}

	public void setRecommDistributorName(String recommDistributorName) {
		this.recommDistributorName = recommDistributorName;
	}

	public String getCustomerName() {
		return customerName;
	}

	public void setCustomerName(String customerName) {
		this.customerName = customerName;
	}

	public BigDecimal getAmount() {
		return amount;
	}

	public void setAmount(BigDecimal amount) {
		this.amount = amount;
	}

	public BigDecimal getFeeAmount() {
		return feeAmount;
	}

	public void setFeeAmount(BigDecimal feeAmount) {
		this.feeAmount = feeAmount;
	}
	
	public BigDecimal getPayAmount() {
		return payAmount;
	}

	public void setPayAmount(BigDecimal payAmount) {
		this.payAmount = payAmount;
	}

	public String getProjectName() {
		return projectName;
	}

	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}

	public String getPayee() {
		return payee;
	}

	public void setPayee(String payee) {
		this.payee = payee;
	}

	public BigDecimal getDistributorRebate() {
		return distributorRebate;
	}

	public void setDistributorRebate(BigDecimal distributorRebate) {
		this.distributorRebate = distributorRebate;
	}

	public BigDecimal getRecommDistributorRebate() {
		return recommDistributorRebate;
	}

	public void setRecommDistributorRebate(BigDecimal recommDistributorRebate) {
		this.recommDistributorRebate = recommDistributorRebate;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public BigDecimal getDebtRatio() {
		return debtRatio;
	}

	public void setDebtRatio(BigDecimal debtRatio) {
		this.debtRatio = debtRatio;
	}
}
